package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "linghun_cun")
public class LingHunCun implements Serializable {

    private static final long serialVersionUID = 6003135946821874230L;
    private ObjectId id; //主键id
    private Integer userid;//用户id
    private String avatar;//头像
    private String nickname;//昵称
    private String gender;//性别 man woman
    private Integer age;//年龄
    private String soundUrl;//语音地址


}
